package com.edais.vo;

import com.edais.domain.advert.BannerManage;

/**
 * BannerManageVo
 * Created by haoyx on 2016/12/12.
 */
public class BannerManageVo {

    private Long id;

    private String name;

    private String imageTitle;

    private String imageUrl;

    private String url;

    private String adTitle;

    private Short adTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageTitle() {
        return imageTitle;
    }

    public void setImageTitle(String imageTitle) {
        this.imageTitle = imageTitle;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAdTitle() {
        return adTitle;
    }

    public void setAdTitle(String adTitle) {
        this.adTitle = adTitle;
    }

    public Short getAdTime() {
        return adTime;
    }

    public void setAdTime(Short adTime) {
        this.adTime = adTime;
    }

    public BannerManageVo() {
    }

    public BannerManageVo(BannerManage banner) {
        this.id = banner.getId();
        this.name = banner.getName();
        this.imageTitle = banner.getImageTitle();
        this.imageUrl = banner.getImageUrl();
        this.url = banner.getUrl();
        this.adTime = banner.getAdTime();
        this.adTitle = banner.getAdTitle();
    }
}
